/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.company.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.company.entity.TpCompany;
import com.thinkgem.jeesite.modules.company.dao.TpCompanyDao;

/**
 * 管理上报种子企业Service
 * @author 王虎
 * @version 2017-03-10
 */
@Service
@Transactional(readOnly = true)
public class TpCompanyService extends CrudService<TpCompanyDao, TpCompany> {

	public TpCompany get(String id) {
		return super.get(id);
	}
	
	public List<TpCompany> findList(TpCompany tpCompany) {
		return super.findList(tpCompany);
	}
	
	public Page<TpCompany> findPage(Page<TpCompany> page, TpCompany tpCompany) {
		return super.findPage(page, tpCompany);
	}
	
	@Transactional(readOnly = false)
	public void save(TpCompany tpCompany) {
		super.save(tpCompany);
	}
	
	@Transactional(readOnly = false)
	public void delete(TpCompany tpCompany) {
		super.delete(tpCompany);
	}
	
}